
int& func()
{
    static int x = 10;
    return x;
}


int main()
{
    int *p = nullptr; //p是指针，左值
    *p = new int(1); //*p是指针解引用，左值
    int a1 = 0; //a1是非const变量，左值
    const int a2 = 0; //a2是const变量，左值
    func() = 10;//函数引用的返回值，左值
    return 0;
}
